package Text_18;

public class Dog extends Animal{
	private String name;
	public Dog(String name) {
		super(name);
	}
	public void shout() {
		System.out.println("汪汪叫~");
	}
}
